package com.wuzhun.wxmp.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文章表
 * </p>
 *
 * @author Paulin
 * @since 2023-05-31
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("pre_message")
@ApiModel(value = "Message对象", description = "文章表")
public class Message extends BaseEntity {

    @ApiModelProperty("微信用户ID")
    @TableField("wx_user_id")
    private String wxUserId;

    @ApiModelProperty("消息内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("年份")
    @TableField("year")
    private String year;

    @ApiModelProperty("微信公众号ID")
    @TableField("mp_id")
    private String mpId;

    @ApiModelProperty("消息类型")
    @TableField("msg_type")
    private String msgType;

    @ApiModelProperty("消息ID")
    @TableField("msg_id")
    private String msgId;

    @ApiModelProperty("联系方式")
    @TableField("contact")
    private String contact;

    @ApiModelProperty("结果")
    @TableField("result")
    private String result;

    @ApiModelProperty("消息类型：1是微信")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("ip")
    @TableField("ip")
    private String ip;
}
